import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
import { WorkTypeEnum } from './watchRecordIc.enum';

@Entity('watch_record_ic')
export class WatchRecordIc {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'ic_group' })
  ic_group: number;

  @Column({ name: 'wx_user' })
  wx_user: string;

  @Column({ name: 'create_time' })
  create_time: Date;

  @Column({ name: 'work_type' })
  work_type: WorkTypeEnum;
}
